<template>
  <div>
      <detail en_name="MobileSofeware" cn_name="移动端产品" context=""></detail>
      <div class="context" v-html="content">{{content}}</div>
  </div>
</template>

<script>
    import {requestPost} from "../../../networks/request";
    import Detail from "../../common/detail/detail";

    export default {
      components: {Detail},
      props: ['id'],
        name: "mobileContext",
      data(){
         return {
           pid: this.id,
           content: ''
         }
      },
      mounted() {
         requestPost({
           url: 'product/select',
           data: {
             id: this.pid
           }
         }).then(res=>{
           this.content = res.data.html
         })
      }
    }
</script>

<style scoped>
  .context{
    height: 1000px;
  }
</style>
